using DG.Tweening;
using UnityEngine;

public class HandMoveTut : MonoBehaviour
{
	public bool isRight;

	public Transform posMove;

	private void Start()
	{
		if (!isRight)
		{
			Transform transform = base.transform;
			Vector3 position = posMove.position;
			transform.DOMoveX(position.x, 0.8f).SetLoops(-1, LoopType.Restart);
		}
		else
		{
			Transform transform2 = base.transform;
			Vector3 position2 = posMove.position;
			transform2.DOMoveX(position2.x, 0.8f).SetLoops(-1, LoopType.Restart);
		}
	}

	private void Update()
	{
	}
}
